package com.ley.springboot.seed.business.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ley.springboot.seed.business.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author author
 * @since 2020-06-05
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> listUsersByPage(@Param("page") IPage<User> page, @Param("user") User user);
}
